import request from '@/utils/request'

export function login(data) {
  return request({
    url: '/Login/login', method: 'POST', data
  })
}

export function getInfo(params) {
  return request({
    url: `/Login/getUserInfo/${params}`, method: 'get'
  })
}

export function logout() {
  return request({
    url: '/vue-admin-template/user/logout', method: 'post'
  })
}

